#include "../include/Config.h"

Config::Config()
{
    canvasSize = wxSize(0, 0);
}

Config::~Config()
{
    //dtor
}

wxSize Config::getCanvasSize() const
{
    return canvasSize;
}

int Config::getCanvasWidth() const
{
    return canvasSize.GetX();
}

int Config::getCanvasHeight() const
{
    return canvasSize.GetY();
}

unsigned Config::getFPS() const
{
    return FPS;
}
unsigned Config::getLength() const
{
    return length;
}

void Config::setCanvasSize(const int& width, const int& height)
{
    canvasSize.Set(width, height);
}

void Config::setCanvasSize(const wxSize& canvasSize)
{
    this->canvasSize = canvasSize;
}

void Config::setFPS(const unsigned& FPS)
{
    this->FPS = FPS;
}

void Config::setLength(const unsigned& length)
{
    this->length = length;
}
